package com.googlecode.trabhci2011.stockmarket.client;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.*;

public class LabelChangeHandler implements ClickHandler {

	private Label label = null;
	private TextBox textBox = null;
	public LabelChangeHandler(Label l, TextBox t){
		label = l;
		textBox = t;
	}
	public void onClick(ClickEvent event) {
		label.setText(textBox.getText());
	}

}
